using System;

namespace Mbs.Messaging
{
    [Serializable]
    public class ReceivingExceptionEventArgs : MessageEventArgs
    {
        public ReceivingExceptionEventArgs(object sender, object message, Exception ex, string topic)
            : base(sender, message,topic)
        {
            Error = ex;
        }
        public Exception Error { get; internal set; }
        public bool Canceled { get; set; }
    }
}
